//
//  DatebaseUtil.h
//  LOU
//
//  Created by iMacOne on 15/11/11.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define key_setup_date @"setupDate"
#define key_get_msg_date @"getMsgDate"
#define key_version @"version"

@interface DatebaseUtil : NSObject
#pragma mark 写入设置
+ (void)write:(NSString*)key value:(NSString*)value;

#pragma mark 获得设置
+ (NSString*)getSetting:(NSString*)key;

#pragma mark 添加备份数据
+ (void)add:(NSString*)url param:(NSString*)param data:(NSString*)data;

#pragma mark 获得备份数据map
+ (NSMutableDictionary*)getMap:(NSString*)url param:(NSString*)param;

#pragma mark 保存图片
+ (void)addImg:(NSString*)url path:(NSString*)path;

#pragma mark 获取图片的map, 在数据库中查找
+ (NSMutableDictionary*)getImgMap:(NSString*)url;
@end
